<div class="collapse navbar-collapse box-shadow bg-white-only mark-toolbar" style="position: fixed;top: 0;left: 0;right: 0px;z-index: 2">
    <div class="nav navbar-nav hidden-xs">
        <div class="btn no-shadow navbar-btn text-md">
        任务分配
        <span ng-bind="marker.name"></span>
        </div>
    </div>
    <form class="navbar-form navbar-form-sm navbar-left shift">
        <div class="form-group">
            <div class="input-group">
                <input type="text" ng-model="keyword" class="form-control  bg-light no-border rounded padder ng-pristine ng-valid ng-touched" placeholder="科目名" />
                <span class="input-group-btn">
                <button type="submit" class="btn bg-light rounded"><i class="fa fa-search"></i></button>
              </span>
            </div>
            
            <div class="input-group">
            <input type="text" placeholder="最小总数" class="form-control w-xs " />
            </div>
            <div class="input-group">
            	<input type="text" placeholder="最大总数" class="form-control w-xs " />
            </div>
        </div>
        
    </form>

    <div class="nav navbar-nav navbar-right padder">
        <a ng-click="submit()" class="btn no-shadow navbar-btn text-md btn-primary">
        	提交
        </a>
    </div>
</div>
<div class="app-content" style="padding-top: 70px;">
    <div class="wrapper" >
        <div class="row">
            <div class="col-md-3" ng-repeat="s in subjects | filter:{name:keyword,finished:finished}">
                <div class="panel" ng-click="select(s)" style="position:relative" ng-class="{'b b-primary':s.selected}" >
                    <div class="panel-heading b-b b-light">
                    	<span ng-bind="s.name"></span>
                    	<span ng-bind="s.code" class="block" ></span>
                    </div>
                    <a class="remove-btn" ng-if="s.selected"><i class="icon icon-check fa-2x bg-success"></i></a>
                    <div class="hbox text-center text-sm">
                        
                        <div class="col padder-v text-muted">
                            <span class="text-md text-primary font-bold" ng-bind="s.paperCount-s.assignedCount"></span>
                            <span class="block m-b-xs">剩余数</span>
                        </div>
                        <div class="col padder-v text-muted">
                            <span class="text-md text-primary font-bold" ng-bind="s.paperCount"></span>
                            <span class="block m-b-xs">总数</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
